package com.yjt.fresh.bean;

import java.util.List;

/**
 * 城市列表
 * Created by mcc on 2018-06-25.
 */

public class BeanCity {


    /**
     * id : 2
     * cityList : [{"id":"3","areaList":[{"id":"4","area":"东城"},{"id":"5","area":"西城"},{"id":"6","area":"崇文"},{"id":"7","area":"宣武"},{"id":"8","area":"朝阳"},{"id":"9","area":"丰台"},{"id":"10","area":"石景山"},{"id":"11","area":"海淀"},{"id":"12","area":"门头沟"},{"id":"13","area":"房山"},{"id":"14","area":"通州"},{"id":"15","area":"顺义"},{"id":"16","area":"昌平"},{"id":"17","area":"大兴"},{"id":"18","area":"怀柔"},{"id":"19","area":"平谷"},{"id":"20","area":"其它"}],"city":"北京市辖区"},{"id":"21","areaList":[{"id":"22","area":"密云县"},{"id":"23","area":"延庆县"}],"city":"北京市辖县"}]
     * province : 北京
     */

    private String id;
    private String province;
    private List<CityListBean> cityList;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public List<CityListBean> getCityList() {
        return cityList;
    }

    public void setCityList(List<CityListBean> cityList) {
        this.cityList = cityList;
    }

    public static class CityListBean {
        /**
         * id : 3
         * areaList : [{"id":"4","area":"东城"},{"id":"5","area":"西城"},{"id":"6","area":"崇文"},{"id":"7","area":"宣武"},{"id":"8","area":"朝阳"},{"id":"9","area":"丰台"},{"id":"10","area":"石景山"},{"id":"11","area":"海淀"},{"id":"12","area":"门头沟"},{"id":"13","area":"房山"},{"id":"14","area":"通州"},{"id":"15","area":"顺义"},{"id":"16","area":"昌平"},{"id":"17","area":"大兴"},{"id":"18","area":"怀柔"},{"id":"19","area":"平谷"},{"id":"20","area":"其它"}]
         * city : 北京市辖区
         */

        private String id;
        private String city;
        private List<AreaListBean> areaList;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public List<AreaListBean> getAreaList() {
            return areaList;
        }

        public void setAreaList(List<AreaListBean> areaList) {
            this.areaList = areaList;
        }

        public static class AreaListBean {
            /**
             * id : 4
             * area : 东城
             */

            private String id;
            private String area;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getArea() {
                return area;
            }

            public void setArea(String area) {
                this.area = area;
            }
        }
    }
}
